feat: bzlmodify#11
Closed
chickenandpork wants to merge 1 commit into1e100:masterfrom
Closed
Conversation
6eb935f to
164e390
Compare
52f3ca0 to
1dd215f
Compare
1e100
pushed a commit
that referenced
this pull request
Mar 31, 2026
Move all repository rule invocations from WORKSPACE to MODULE.bazel using use_repo_rule (bzlmod-native). Remove --enable_workspace from .bazelrc since Bazel 8 defaults to bzlmod. Add optional tool_target attribute to all cloud rules (s3, gs, minio, b2) so users can point to a Bazel-managed CLI binary (e.g. @my_awscli//:aws) instead of requiring tools on $PATH. When unset, the existing $PATH lookup via repo_ctx.which() is preserved. Add .bcr/ templates (metadata, presubmit, source) for future Bazel Central Registry submission. Partially addresses PR #11. https://claude.ai/code/session_01AxVsJ3PcLBCmcUXAaLKZQk
1e100
added a commit
that referenced
this pull request
Apr 1, 2026
Migrate to Bzlmod and add tool_target parameter for CLI tools This is a cleanup and further development of #11
Owner
|
Cleaned up and submitted via #20. The impl differs quite a bit though. There's now documentation under |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a very basic BCR config; there's some remaining work before a BCR submission can be attempted:
archive_gcloud_*repos.bcr/metadata.template.json(see my rules_synology as an example)Partially fixes #5